Tabs Registry entry (Tab Switching)

Specify which tabs to display / hide dynamically based on a value selected or entered in a given field (i.e. Tab switching).

Usage

This Registry entry can be assigned to users and groups:

Key User User Group Group Group Group
Key 1 User User Group Group Group Group
Key 2 user user group group Default Default
Key 3 Table Table Table Table Table Table
Key 4 table Default table Default table Default
Key 5 Tabs
Key 6 column
key 7 value
Value tab;tab;...

where:

column

is the Tab Switching column.

value

is a value to check for in column. When value is in column, the tabs listed in tab;tab;... will display in the module specified in Key 4 or all modules if Default is entered in Key 4.

tab;tab;...

is a semicolon separated list of tabs to display when value is present in column.

See Tabs|Default Registry entry for how to specify which tabs to display / hide.

Note: If two tab switching Registry entries specify the same tab name and one is preceded by a - and the other by a +, the tab will always display.

Note: Typically, Tab Switching is defined at a group level.

When calculating which tabs should display:

  1. Vitalware first retrieves the set of tabs defined by the Tabs|Default Registry entry.
  2. If a Tabs Registry entry exists and the value is present in column, the tab display is modified.

    Note: Vitalware automatically hooks all column controls when a module is invoked. Whenever the value of the column is modified, the tabs to be display are determined.

Example

A Tabs|Default Registry entry specifies the default set of tabs to display in the Parties module:

Key Setting
Key 1 Group
Key 2 Default
Key 3 Table
Key 4 eparties
Key 5 Tabs
Key 6 Default
Value All

A Tabs Registry entry then specifies which tabs will display when the value selected in the Party Type field is Collaboration:

Key Setting
Key 1 Group
Key 2 Default
Key 3 Table
Key 4 eparties
Key 5 Tabs
Key 6 NamPartyType
key 7 Collaboration
Value

-All

+QryPerTab

+AllColTab

+QryColTab

+AllNotTab

+QryNotTab

+AllMedTab

+QryMedTab

+AllSecTab

+AllAdmTab

+QrySecTab

+QryAdmTab